import java.util.Scanner;

public class SwitchCaseExpressTest {
    public static void main(String[] args) {
        //需求：从键盘输入1个星期的数字[1,7]，然后输出这个星期对应的单词
        Scanner input = new Scanner(System.in);

        System.out.print("请输入星期的数字[1,7]：");
        int week = input.nextInt();

        switch (week) {
            case 1 -> System.out.println("Monday");
            case 2 -> System.out.println("Tuesday");
            case 3 -> System.out.println("Wednesday");
            case 4 -> System.out.println("Thursday");
            case 5 -> System.out.println("Friday");
            case 6 -> System.out.println("Saturday");
            case 7 -> System.out.println("Sunday");
//            default -> System.out.println("输入有误！");
        }

        input.close();
    }
}
